home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Printing / PrintManager.h < prev    next >
Text File  |  2000-06-23  |  523b  |  34 lines

  1. // PrintManager.h
  2.  
  3. #ifndef PrintManager_h
  4. #define PrintManager_h
  5.  
  6. #ifndef HandleTo_h
  7. #include "HandleTo.h"
  8. #endif
  9.  
  10. #include <Printing.h>
  11.  
  12. class PrintManager
  13.   {
  14.     friend class PrintJobInfo;
  15.     friend class PageSetupInfo;
  16.     friend class PrintJob;
  17.     
  18.     private:
  19.         HandleTo<TPrint> printHandle;
  20.         static bool isOpen;
  21.         
  22.         // not implemented:
  23.             PrintManager( const PrintManager& );
  24.             void operator=( const PrintManager& );
  25.         
  26.     public:
  27.         PrintManager();
  28.         ~PrintManager();
  29.         
  30.         static bool IsOpen()        { return isOpen; }
  31.   };
  32.  
  33. #endif
  34.